package com.hgxd.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;

/**
 * Created by IntelliJ IDEA.
 *
 * @author: FSD
 * @Created 2023/11/18 14:18
 * @description
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "HumitureTimeVo对象", description = "温湿度查询时间类")
public class HumitureTimeVo {
    @ApiModelProperty("开始时间")
    @JsonFormat(shape=JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDate beginTime;

    @ApiModelProperty("结束时间")
    @JsonFormat(shape=JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDate endingTime;

    @ApiModelProperty("名称")
    private String name;
}
